package com.heart.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class QuestionDetailItem implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value="tc_item_id",type = IdType.AUTO )
    private Integer itemId;
    /**
     * 问卷题id
     */
    private Integer detailId;
    /**
     * 当前索引
     */
    private Integer indexOrder;
    /**
     * 选项类型
     */
    private String optionClass;
    /**
     * 选项名称
     */
    private String optionName;
    /**
     * 选项分值
     */
    private Integer optionScore;
    /**
     * 默认值
     */
    private String defualt;
}
